#include "timethread.h"
#include <QTime>
#include <QDebug>
TimeThread::TimeThread()
{

}

void TimeThread::run()
{
    while (1) {
        QString  time = QTime::currentTime().toString("hh:mm:ss");
        qDebug() << time;
        emit sendTime(time);
        sleep(1);
    }
}
